 !{ global $m,$_df; $home_layout = show('home_layout',1);}!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>

		<!--public attribute-->
		<title>!!$home_layout['title']!!</title>
		<meta name="author" content="Df">
		<meta name="keywords" content="!!$home_layout['keywords']!!">
		<meta name="description" content="!!$home_layout['description']!!">

		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="content-type" content="text/html;charset=utf-8">
		<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">

		<!--页面尺寸-->
		<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
		<!--手机状态栏的颜色-->
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<!--作为独立的网页，进行全屏显示-->
		<meta name="apple-mobile-web-app-capable" content="yes">
		<link rel="shortcut icon" href="/favicon.ico" />
		<link rel="apple-touch-icon" href="/favicon.png" /> !{include view('share','share','','')}! #header()
		<!--mui-->
		<link href="/css_js/mui/mui.min.css" rel="stylesheet" />
		<script src="/css_js/mui/mui.min.js"></script>
		<!--layui-->
		<link rel="stylesheet" href="/css_js/layui/layui.css" media="all">
		<link rel="stylesheet" href="../css_js/layui/global.css" media="all">
		<script src="/css_js/layui/layui.js" charset="utf-8"></script>
		<!-- umeditor -->
		<link rel="stylesheet" href="/css_js/umeditor/themes/default/css/umeditor.css">
		<script type="text/javascript" src="/css_js/umeditor/umeditor.config.js"></script>
		<script type="text/javascript" src="/css_js/umeditor/editor_api.js"></script>

		<!--h5-->

		<script src='/css_js/h5/cool/init.js'></script>
		<!---->
		<script src="/css_js/jqTemplate/jquery.tmpl.js"></script>
		<script src="/css_js/qqLogin/init.js"></script>

	</head>

	<body>

		<div class="layui-row">
			<div class="layui-col-xs6">
				<h2><a href="/" title="Df"><img src="/img/logo.png" alt="Df" border="0" style="width: 8%;"></a></h2>
			</div>
			<div class="layui-col-xs6">
				<!--登陆区域-->
				<div style="float: right;padding-right: 0;">
					<div id='head'></div>
				</div>
			</div>
		</div>
		<div class="layui-row" style="margin-top: 10px;">
			<div class="layui-col-xs12">
				<canvas height="100%" width="100%" style="position: relative; top: 0px; left: 0px; z-index: 100; opacity: 1;" id="canvas"></canvas>
			</div>
		</div>

		<div class="layui-row" style="margin-top: 10px;">
			<div class="layui-col-xs12">
				<div class="layui-tab">
					<ul class="layui-tab-title">
						<li class="layui-this">
							<a href="/">帖子</a>
						</li>
						<li>图片</li>
					</ul>
					<div class="layui-tab-content">
						<div class="layui-tab-item layui-show">
							#body()
						</div>
						<div class="layui-tab-item">开发中</div>

					</div>
				</div>
			</div>
		</div>

	</body>
	#footer()

	<script type="text/html" id='temp1'>
		{%if status==0%}
		<div class="qqLogin">

			<span class="layui-breadcrumb" style="visibility: visible;">
<a href="javascript:toLogin()"><img src="/css_js/qqLogin/qq_login.gif" class="vm" alt="QQ登录"></a>
<span lay-separator="">|</span>
			<a href="javascript:">只需一步，快速开始</a>
			</span>

		</div>
		{%else%}

		<div id="um">
			<span class="layui-breadcrumb" style="visibility: visible;">
<a><img src="${result.data.QQ_pic}" style="width: 8%;"></a>
<span lay-separator="">|</span>
			<a href="!!SplitUrl('homepage/user/userinfo')!!" title="访问我的空间">${result.data.nickname}</a>
			<span lay-separator="">|</span>
			<a href="!!SplitUrl('homepage/user/userinfo')!!" id="myitem">个人中心</a>
			<span lay-separator="">|</span>
			<a href="javascript:ext();">退出</a>
			</span>

		</div>
		{%/if%}
	</script>

	<script>
		layui.use('element');

		function headDt() {
			post('!!SplitUrl("homepage/home/getLoginU")!!', {}, function(dt) {
				$('#temp1').tmpl(dt).appendF('#head');
			})

		}
		headDt()

		function ext() {
			post("!!SplitUrl('homepage/home/logout')!!", {}, function() {
				headDt()
			})
		}
	</script>

</html>